package com.zhang.service;

import com.github.pagehelper.PageInfo;
import com.zhang.domain.Manager;
import com.zhang.domain.Product;
import com.zhang.domain.Shop;
import com.zhang.query.ProductQuery;
import com.zhang.query.ShopQuery;

import java.util.List;

/**
 * @author zh
 * @create 2022-02-21 11:52
 */
public interface IProductService {
    //基础查询
    void save(Product p);

    void update(Product p);

    void delete(Long id);

    PageInfo<Product> queryData(ProductQuery query);

    void deleteAll(Long[] id);
}
